#ifndef GE_COLOR_HPP
#define GE_COLOR_HPP

/** Graphics Engine namespace contains everything related to graphics
  geared towards easier interfacing with OpenGL.
*/
namespace ge {
  /// Structure to hold a color in floating point format.
  struct color {
  public:
    /** Constructor defaults to black.
      @warning Make sure to pass a value between 0 and 1,
        the constructor doesn't check for integrity of its data.
    */
    color(float const r_ = 0,
          float const g_ = 0,
          float const b_ = 0,
          float const a_ = 1)
    : r(r_), g(g_), b(b_), a(a_) { }
    
    static color const red, green, blue, white, black;
    float r, g, b, a;
  };
  
}

#endif
